package cn.tedu.micro.demo.all.dao.repository;

import cn.tedu.micro.demo.pojo.po.CartPO;

import java.util.List;

public interface CartRepository {
    void save(CartPO cartPO);

    List<CartPO> findByUserId(String userId);

    int deleteByUserIdAndProductCode(String userId, String productCode);
}
